package com.design.decorate;

/**
 * @Author: ChengLei.Liu
 * @Date: 2020-07-22 11:32
 * @Description: 抽象装饰者
 */
public abstract class AbstractPersonDecorate implements Person {

    private Person person;

    public AbstractPersonDecorate(Person person){
        this.person = person;
    }

    @Override
    public void say() {
        person.say();
    }
}
